<?php

return [
    'menu' => [
        'agent' => [
            'name' => '代理管理',
            'ico' => 'layui-icon-home',
            'sub' => [
                'index' => ['name' => '代理列表', 'uri' => '/agent/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'quhuaall' => ['name' => '区划分布总图', 'uri' => '/agent/quhuaall', 'show' => true, 'method' => 'get|post'],
                'money_edit' => ['name' => '操作资产', 'uri' => '/agent/money_edit', 'show' => false, 'method' => 'get|post'],
                'index_exc' => ['name' => '一键导入', 'uri' => '/agent/index_exc', 'show' => false, 'method' => 'get|post'],
                'agentlog' => ['name' => '代理余额记录', 'uri' => '/agent/agentlog', 'show' => false, 'method' => 'get'],  //index 方法名
                'agent_del' => ['name' => '删除代理', 'uri' => '/agent/agent_del', 'show' => false, 'method' => 'get|post'],
                'agent_status' => ['name' => '冻结、解绑操作', 'uri' => '/agent/agent_status', 'show' => false, 'method' => 'post'],
                'agent_edit' => ['name' => '管理代理', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea' => ['name' => '区域列表', 'uri' => '/agent/agentarea', 'show' => true, 'method' => 'get'],  //index 方法名
                'agentarea_quan' => ['name' => '划分代理地图划分', 'uri' => '/agent/agentarea_quan', 'show' => false, 'method' => 'get|post'],
                'agentarea_edit' => ['name' => '管理代理区域', 'uri' => '/agent/agentarea_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea_edit2' => ['name' => '批量管理代理区域', 'uri' => '/agent/agentarea_edit2', 'show' => false, 'method' => 'get|post'],
                'agentarea_del' => ['name' => '代理区域删除', 'uri' => '/agent/agentarea_del', 'show' => false, 'method' => 'get|post'],
                'subcate' => ['name' => '类别分类', 'uri' => '/agent/subcate', 'show' => true, 'method' => 'get'],  //index 方法名
                'subcate_status' => ['name' => '显示隐藏操作', 'uri' => '/agent/subcate_status', 'show' => false, 'method' => 'post'],
                'subcate_edit' => ['name' => '管理分类类别', 'uri' => '/agent/subcate_edit', 'show' => false, 'method' => 'post|get'],
                'subcate_del' => ['name' => '代理分类删除', 'uri' => '/agent/subcate_del', 'show' => false, 'method' => 'get|post'],
                'product' => ['name' => '产品列表', 'uri' => '/agent/product', 'show' => true, 'method' => 'get'],  //index 方法名
                'product_del' => ['name' => '产品删除', 'uri' => '/agent/product_del', 'show' => false, 'method' => 'get|post'],
                'product_status' => ['name' => '推荐、隐藏产品', 'uri' => '/agent/product_status', 'show' => false, 'method' => 'post'],
                'product_edit' => ['name' => '编辑添加产品', 'uri' => '/agent/product_edit', 'show' => false, 'method' => 'get|post'],
                'rider' => ['name' => '师傅列表', 'uri' => '/agent/rider', 'show' => true, 'method' => 'get'],  //index 方法名
                'rider_edit' => ['name' => '师傅信息管理', 'uri' => '/agent/rider_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'rider_del' => ['name' => '删除师傅', 'uri' => '/agent/rider_del', 'show' => false, 'method' => 'get|post'],
                'riderstreet' => ['name' => '师傅街道列表', 'uri' => '/agent/riderstreet', 'show' => true, 'method' => 'get'],  //index 方法名
                'riderstreet_edit' => ['name' => '师傅街道管理', 'uri' => '/agent/riderstreet_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'riderstreet_edit2' => ['name' => '师傅街道批量管理', 'uri' => '/agent/riderstreet_edit2', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'riderstreet_del' => ['name' => '删除师傅街道', 'uri' => '/agent/riderstreet_del', 'show' => false, 'method' => 'get|post'],
                'riderstreet_status' => ['name' => '师傅街道通过、驳回', 'uri' => '/agent/riderstreet_status', 'show' => false, 'method' => 'post'],
                'withdraw' => ['name' => '提现申请', 'uri' => '/agent/withdraw', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdraw_status' => ['name' => '提现审核', 'uri' => '/agent/withdraw_status', 'show' => false, 'method' => 'post'],
                'promo' => ['name' => '兑换码配置列表', 'uri' => '/agent/promo', 'show' => true, 'method' => 'get'],  //index 方法名
                'promo_edit' => ['name' => '兑换码套餐配置编辑', 'uri' => '/agent/promo_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'promo_edit2' => ['name' => '在线套餐配置编辑', 'uri' => '/agent/promo_edit2', 'show' => false, 'method' => 'get|post'],  //index 方法名
                // 'promo_alert' => ['name' => '获取二维码', 'uri' => '/agent/promo_alert', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'promo_key' => ['name' => '生成兑换码', 'uri' => '/agent/promo_key', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'keys' => ['name' => '兑换码列表', 'uri' => '/agent/keys', 'show' => true, 'method' => 'get|post'],  //index 方法名
                'keys_status' => ['name' => '兑换码作废', 'uri' => '/agent/keys_status', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'store' => [
            'name' => '线下充值',
            'ico' => 'layui-icon-tabs',
            'sub' => [
                // 'index' => ['name' => '门店列表', 'uri' => '/store/index', 'show' => true, 'method' => 'get'],  //index 方法名
                // 'store_edit' => ['name' => '添加|编辑门店', 'uri' => '/store/store_edit', 'show' => false, 'method' => 'get|post'],
                'user' => ['name' => '线下用户', 'uri' => '/store/user', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_edit' => ['name' => '添加用户', 'uri' => '/store/user_edit', 'show' => false, 'method' => 'get|post'],
                'moneylog' => ['name' => '资产记录', 'uri' => '/store/moneylog', 'show' => false, 'method' => 'get'],  //index 方法名
                'money_edit' => ['name' => '操作资产', 'uri' => '/store/money_edit', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'orders' => [
            'name' => '服务订单',
            'ico' => 'layui-icon-form',
            'sub' => [
                'index' => ['name' => '订单列表', 'uri' => '/orders/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'order_edit' => ['name' => '查看订单', 'uri' => '/orders/order_edit', 'show' => false, 'method' => 'get|post'],
                'order_status' => ['name' => '操作订单', 'uri' => '/orders/order_status', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'user' => [
            'name' => '会员管理',
            'ico' => 'layui-icon-username',
            'sub' => [
                'index' => ['name' => '会员列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'interlog' => ['name' => '积分明细', 'uri' => '/user/interlog', 'show' => false, 'method' => 'get'],  //index 方法名
                'moneylog' => ['name' => '余额明细', 'uri' => '/user/moneylog', 'show' => false, 'method' => 'get'],  //index 方法名
                'money_edit' => ['name' => '操作资产', 'uri' => '/user/money_edit', 'show' => false, 'method' => 'get|post'],
                'coupon' => ['name' => '会员优惠券', 'uri' => '/user/coupon', 'show' => false, 'method' => 'get'],  //index 方法名
                'sendcoupon' => ['name' => '赠送优惠券', 'uri' => '/user/sendcoupon', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'couponel' => ['name' => '作废优惠券', 'uri' => '/user/couponel', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user_level' => ['name' => '会员配置', 'uri' => '/user/user_level', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_level_edit' => ['name' => '会员配置编辑', 'uri' => '/user/user_level_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'shop' => [
            'name' => '积分商城',
            'ico' => 'layui-icon-cart',
            'sub' => [
                'cate' => ['name' => '商城分类', 'uri' => '/shop/cate', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'cate_add' => ['name' => '添加/修改', 'uri' => '/shop/cate_add', 'show' => false, 'method' => 'get|post'],
                'cate_del' => ['name' => '删除', 'uri' => '/shop/cate_del', 'show' => false, 'method' => 'get|post'],
                'cate_status' => ['name' => '显示隐藏操作', 'uri' => '/shop/cate_status', 'show' => false, 'method' => 'post'],
                'goods' => ['name' => '商品管理', 'uri' => '/shop/goods', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'goods_add' => ['name' => '添加/修改', 'uri' => '/shop/goods_add', 'show' => false, 'method' => 'get|post'],
                'goods_del' => ['name' => '删除', 'uri' => '/shop/goods_del', 'show' => false, 'method' => 'get|post'],
                'goods_status' => ['name' => '显示、推荐操作', 'uri' => '/shop/goods_status', 'show' => false, 'method' => 'post'],
                'order' => ['name' => '订单管理', 'uri' => '/shop/order', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'order_edit' => ['name' => '订单商品', 'uri' => '/shop/order_edit', 'show' => false, 'method' => 'get'], // show 在菜单中是否显示
                'order_status' => ['name' => '订单发货|取消|完结', 'uri' => '/shop/order_status', 'show' => false, 'method' => 'get|post'],
                'yjgoods_add' => ['name' => '京东商品一键添加', 'uri' => '/shop/yjgoods_add', 'show' => true, 'method' => 'get|post'],
            ],
            'show' => true, //是否打开这个功能
        ],
        'system' => [
            'name' => '系统设置',
            'ico' => 'layui-icon-set',
            'sub' => [
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'annous' => ['name' => '公告管理', 'uri' => '/system/annous', 'show' => true, 'method' => 'get'],  //index 方法名
                'annous_edit' => ['name' => '公告编辑、管理', 'uri' => '/system/annous_edit', 'show' => false, 'method' => 'get|post'],
                'annous_del' => ['name' => '公告删除', 'uri' => '/system/annous_del', 'show' => false, 'method' => 'get|post'],
                'cate' => ['name' => '主栏目类别', 'uri' => '/system/cate', 'show' => true, 'method' => 'get'],  //index 方法名
                'cate_edit' => ['name' => '类别编辑、管理', 'uri' => '/system/cate_edit', 'show' => false, 'method' => 'get|post'],
                'cate_del' => ['name' => '类别删除', 'uri' => '/system/cate_del', 'show' => false, 'method' => 'get|post'],
                'cate_status' => ['name' => '显示隐藏操作', 'uri' => '/system/cate_status', 'show' => false, 'method' => 'post'],
                'subcate' => ['name' => '代理导入类别', 'uri' => '/system/subcate', 'show' => true, 'method' => 'get'],  //index 方法名
                'product' => ['name' => '代理导入产品', 'uri' => '/system/product', 'show' => true, 'method' => 'get'],  //index 方法名
                'config' => ['name' => '系统配置信息', 'uri' => '/system/config', 'show' => true, 'method' => 'get'],  //index 方法名
                'config_edit' => ['name' => '系统配置信息编辑', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'message' => ['name' => '留言管理', 'uri' => '/system/message', 'show' => true, 'method' => 'get'],  //index 方法名
                'replymessage' => ['name' => '内容回复', 'uri' => '/system/replymessage', 'show' => false, 'method' => 'get|post'],
                'clickfram' => ['name' => '自动刷单', 'uri' => '/system/clickfram', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'clickfram_add' => ['name' => '添加/修改', 'uri' => '/system/clickfram_add', 'show' => false, 'method' => 'get|post'],
                'clickfram_del' => ['name' => '删除', 'uri' => '/system/clickfram_del', 'show' => false, 'method' => 'get|post'],
                'recharge' => ['name' => '在线支付记录', 'uri' => '/system/recharge', 'show' => true, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '管理员列表',
            'ico' => 'layui-icon-user',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '管理员删除', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],

    ]
];
